package pl.grabar.clinic.core.domain.visit.data;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * Klasa reprezentująca chorobe
 * 
 * @author db
 * 
 */
@Entity
@Table(name = "DISEASE")
public class Disease implements Serializable {

	private static final long serialVersionUID = 2063464192282395997L;

	@Id
	@GeneratedValue
	@JsonIgnore
	private long id;

	/**
	 * Nazwa choroby.
	 */
	@Column
	private String name;

	/**
	 * Symptomy choroby.
	 */
	@Column
	private String symptoms;

	/**
	 * Diagnoza.
	 */
	@Column
	private String diagnosis;

	/* AKCESORY */

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getSymptoms() {
		return symptoms;
	}

	public void setSymptoms(String symptoms) {
		this.symptoms = symptoms;
	}

	public String getDiagnosis() {
		return diagnosis;
	}

	public void setDiagnosis(String diagnosis) {
		this.diagnosis = diagnosis;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
